package spring.yongongsystem.POJO.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Worker implements Serializable {

    private static final long serialVersionUID = 1L;
    //用工id
    private Long id;
    //小组id
    private Long groupId;
    //用工名称
    private String name;
    //用工用户名
    private String username;
    //用工密码
    private String password;
    //用工电话
    private String phone;
}